﻿using _14Net8AspNetCore_Authorization.Models;
using Microsoft.EntityFrameworkCore;

namespace _14Net8AspNetCore_Authorization.Context
{
    public class AuthorizationDbContext : DbContext
    {
        public AuthorizationDbContext(DbContextOptions options):base(options)
        {

        }

        public DbSet<Product> products { get; set; }
        public DbSet<Permission> permissions { get; set; }
        public DbSet<UsePermission> UsePermissions { get; set; } // 用户权限
    }
}
